﻿// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. 
// See License.txt in the project root for license information.
using System;
using System.Threading.Actors.Runtime;
using System.Threading.Actors;
[assembly: CLSCompliant(true)]

namespace System.Threading.Actors.ListActor
{
    public static class ListActorServiceHost
    {
        public static void Main(string[] args)
        {
            // Following code enables the ServiceHost to wait for the debugger to be attached.
            // This code is not needed for the actor runtime and is only used for debugging purposes. 
            // Uncomment the following code if you want the servicehost to wait for the debugger to be attached before
            // registering a service to the FabricRuntime

            // Utility.WaitForDebugger(TimeSpan.FromSeconds(30));

            CustomServiceHost.RegisterServiceTypeAndWait("ListActorReplica", typeof(ListActorService));
        }
    }
}
